package name.sakanacatcher.repository;

import name.sakanacatcher.entity.Position;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PositionRepository extends JpaRepository<Position, Integer> {
    Position getById(int id);

    List<Position> getPositionsByCompanyId(int oid);
}
